package com.qst.financing.service;

import com.qst.financing.pojo.BankUser;
import com.qst.financing.pojo.DTO.BuserDTO;

import javax.security.auth.login.AccountNotFoundException;
import java.util.List;

public interface BankUserService {

    List<BankUser> selectAllBankUser(Integer bankid);

    BankUser selectByUserName(String userName);//根据用户名查询用户

    void update(BankUser bankUser);

    void add(BankUser bankUser);

    void delete(String userName);




    BankUser login(BuserDTO buserDTO) throws AccountNotFoundException;
}
